package com.bins.dentist.clinic.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bins.dentist.clinic.entity.AppointmentEntity;
import com.bins.dentist.clinic.model.dto.AppointmentDto;
import com.bins.dentist.clinic.model.dto.PatientPageDto;
import com.bins.dentist.clinic.model.vo.AppointmentVo;
import com.bins.dentist.clinic.model.vo.SimpleSelectVo;

import java.util.List;

/**
 * <p>
 * 预约表 服务类
 * </p>
 *
 * @author bins
 * @since 2023-04-23 13:22:36
 */
public interface AppointmentService extends IService<AppointmentEntity> {

    IPage<AppointmentVo> getPage(PatientPageDto pageDto);

    AppointmentVo getDetail(AppointmentDto dto);

    AppointmentVo saveItem(AppointmentDto dto);

    Integer deleteItem(AppointmentDto dto);

    List<SimpleSelectVo> selectList(AppointmentDto dto);
}
